package com.example.oasystem.entity.page;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Page {
    //总条数
    private int totalElements;
    //每页条数
    private int size;
    //总页码数
    private int totalPages;
    //当前页码数
    private int number;
    //是否为第一页
    private boolean first;
    //是否为最后一页
    private boolean last;

}
